//
//  XLGSendQueueManagerInternal.m
//  etionCBLogic
//
//  Created by wjxfhxy on 1/15/14.
//  Copyright (c) 2014 GuangZhouXuanWu. All rights reserved.
//

#import "XLGSendQueueManagerInternal.h"

@implementation XLGSendFileName

@synthesize fileName = _fileName;
@synthesize fileExt = _fileExt;

- (void)dealloc
{
    [_fileName release_mm];
    [_fileExt release_mm];
    superdealloc_mm;
}
@end

@implementation XLGSendQueueIndex (XLGSendQueueIndexInternal)

- (id)initWithSendQueueIndex:(XLGSendQueueIndex*)sendQueueIndex
{
    self = [super init];
    
    self.title = sendQueueIndex.title;
    self.content = sendQueueIndex.content;
    self.totalByte = sendQueueIndex.totalByte;
    self.sendByte = sendQueueIndex.sendByte;
    self.submitTime = sendQueueIndex.submitTime;
    self.sendTime = sendQueueIndex.sendTime;
    self.sendStatus = sendQueueIndex.sendStatus;
    self.serialNo = sendQueueIndex.serialNo;
    self.sendType = sendQueueIndex.sendType;
    self.targetType = sendQueueIndex.targetType;
    self.extendID = sendQueueIndex.extendID;
    
    return self;
}

+ (XLGSendQueueIndex*)sendQueueIndexWithSendQueueIndex:(XLGSendQueueIndex*)sendQueueIndex
{
    return [[[XLGSendQueueIndex alloc] initWithSendQueueIndex:sendQueueIndex] autorelease_mm];
}

@end